/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 966px) {
  .heroBanner {
    padding: 2rem;
  }
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}

.main {
  margin-top: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.wsPreWrap code {
  white-space: pre-wrap;
}

.scrollVert200 {
  max-height: 200px;
  overflow-y: scroll;
}

.featureContainer {
  display: flex;
  flex-direction: column;
  /* align-items: stretch; */
  padding: 0 2rem;
  width: 100%;
  gap: 2rem;
}

.featureContainer > * {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-self: stretch;
  align-items: stretch;
  justify-items: stretch;
}

.featureContainer > *:nth-child(1) {
  order: 1;
}
.featureContainer > *:nth-child(2) {
  order: 2;
}
.featureContainer > *:nth-child(3) {
  order: 4;
}
.featureContainer > *:nth-child(4) {
  order: 3;
}
.featureContainer > *:nth-child(5) {
  order: 5;
}
.featureContainer > *:nth-child(6) {
  order: 6;
}
.featureContainer > *:nth-child(7) {
  order: 8;
}
.featureContainer > *:nth-child(8) {
  order: 7;
}
.featureContainer > *:nth-child(9) {
  order: 9;
}
.featureContainer > *:nth-child(10) {
  order: 10;
}
.featureContainer > *:nth-child(11) {
  order: 12;
}
.featureContainer > *:nth-child(12) {
  order: 11;
}

.featureContainer > * > *:last-child {
  margin-bottom: 0;
}

.featureContainer .linkList {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.leftOrBelow::before {
  content: 'below';
}

@media screen and (min-width: 1024px) {
  .main {
    margin: 4rem auto;
  }
  .featureContainer {
    display: grid;
    grid-template-columns: 0 1fr 0.667fr 1fr 0;
    width: 100%;
    column-gap: 2rem;
    row-gap: 6rem;
  }
  .featureContainer > *:nth-child(4n + 1) {
    grid-column-start: 2;
    grid-column-end: 2;
  }
  .featureContainer > *:nth-child(4n + 2) {
    grid-column-start: 3;
    grid-column-end: span 2;
  }
  .featureContainer > *:nth-child(4n + 3) {
    grid-column-start: 2;
    grid-column-end: span 2;
  }
  .featureContainer > *:nth-child(4n + 4) {
    grid-column-start: 4;
    grid-column-end: 4;
  }

  .featureContainer > *:nth-child(1) {
    order: 1;
  }
  .featureContainer > *:nth-child(2) {
    order: 2;
  }
  .featureContainer > *:nth-child(3) {
    order: 3;
  }
  .featureContainer > *:nth-child(4) {
    order: 4;
  }
  .featureContainer > *:nth-child(5) {
    order: 5;
  }
  .featureContainer > *:nth-child(6) {
    order: 6;
  }
  .featureContainer > *:nth-child(7) {
    order: 7;
  }
  .featureContainer > *:nth-child(8) {
    order: 8;
  }
  .leftOrBelow::before {
    content: 'to the left';
  }
}
